package com.ruoyi.gxs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 减分对象 gxs_deduction
 * 
 * @author 高晓松
 * @date 2023-12-27
 */
public class GxsDeduction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 减分id */
    private Long gxsId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 学号 */
    @Excel(name = "学号")
    private String userName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 学年id */
    @Excel(name = "学年id")
    private Long gxsYear;

    /** 扣分父类型 */
    @Excel(name = "扣分父类型")
    private Long gxsParenttypeId;

    /** 扣分子类型 */
    @Excel(name = "扣分子类型")
    private Long gxsSubtypeId;

    /** 扣分备注 */
    @Excel(name = "扣分备注")
    private String gxsDeductionRemark;



    private SysDept sysDept;

    private GxsYearname gxsYearname;

    private GxsParenttype gxsParenttype;

    private GxsSubtype gxsSubtype;

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public GxsYearname getGxsYearname() {
        return gxsYearname;
    }

    public void setGxsYearname(GxsYearname gxsYearname) {
        this.gxsYearname = gxsYearname;
    }

    public GxsParenttype getGxsParenttype() {
        return gxsParenttype;
    }

    public void setGxsParenttype(GxsParenttype gxsParenttype) {
        this.gxsParenttype = gxsParenttype;
    }

    public GxsSubtype getGxsSubtype() {
        return gxsSubtype;
    }

    public void setGxsSubtype(GxsSubtype gxsSubtype) {
        this.gxsSubtype = gxsSubtype;
    }

    public void setGxsId(Long gxsId)
    {
        this.gxsId = gxsId;
    }

    public Long getGxsId() 
    {
        return gxsId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setGxsYear(Long gxsYear) 
    {
        this.gxsYear = gxsYear;
    }

    public Long getGxsYear() 
    {
        return gxsYear;
    }
    public void setGxsParenttypeId(Long gxsParenttypeId) 
    {
        this.gxsParenttypeId = gxsParenttypeId;
    }

    public Long getGxsParenttypeId() 
    {
        return gxsParenttypeId;
    }
    public void setGxsSubtypeId(Long gxsSubtypeId) 
    {
        this.gxsSubtypeId = gxsSubtypeId;
    }

    public Long getGxsSubtypeId() 
    {
        return gxsSubtypeId;
    }
    public void setGxsDeductionRemark(String gxsDeductionRemark) 
    {
        this.gxsDeductionRemark = gxsDeductionRemark;
    }

    public String getGxsDeductionRemark() 
    {
        return gxsDeductionRemark;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gxsId", getGxsId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("deptId", getDeptId())
            .append("gxsYear", getGxsYear())
            .append("gxsParenttypeId", getGxsParenttypeId())
            .append("gxsSubtypeId", getGxsSubtypeId())
            .append("gxsDeductionRemark", getGxsDeductionRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("sysDept", getSysDept())
            .append("gxsYearname", getGxsYearname())
            .append("gxsParenttype", getGxsParenttype())
            .append("gxsSubtype", getGxsSubtype())
            .toString();
    }
}
